﻿using UnityEngine;
using System.Collections;

namespace Hont.UMotionGraph
{
    public class MGFragmentContainer : MoGraphTransformContainer
    {
        public override Vector3 GetValue(int type, int inx)
        {
            return mSourceValueArr[inx];
        }

        public override void UpdateValue(Vector3[] values)
        {
            for (int i = 0; i < values.Length; i++)
            {
                elements[i].position = values[i];
            }
        }
    }
}
